using Assets.Scripts.GDK;
using DG.Tweening;
using System;
using System.Collections.Generic;
using UnityEngine;

namespace Brick
{
	public class BaseGuideLayer : gdk_base_layer
	{
		public Action callback;

		public RectTransform view;

		public RectTransform box;

		public void arrowMove(RectTransform arrow, Vector3 endPos, Vector3 startPos)
		{
			arrow.localPosition = startPos;
			List<Vector3> list = new List<Vector3>();
			list.Add(endPos);
			list.Add(startPos);
			List<Vector3> list2 = list;
			arrow.DOKill();
			Tweener t = arrow.DOLocalPath(list2.ToArray(), 1f);
			t.SetAutoKill(autoKillOnCompletion: false);
			t.SetLoops(-1);
			t.SetEase(Ease.Unset);
			t.Play();
		}

		public override void OnLoad()
		{
		}

		public override void OnLoadEnd()
		{
		}

		public override void OnStart()
		{
		}

		public override void OnUpdate()
		{
		}

		public override void UnLoad()
		{
		}
	}
}

